
const memberRoute = [
  {
    path: '/member',
    name: 'Member',
    meta: {
      title: '商家登记录入'
    },
    component: () => import('@/views/member/index')
  },
  {
    path: '/upload_image/:retailer_id',
    name: 'UploadImage',
    props: true,
    meta: {
      title: '商家信息'
    },
    component: () => import('@/views/member/upload-image')
  },
  {
    path: '/redirect',
    name: 'Redirect',
    meta: {
      title: '跳转页面'
    },
    component: () => import('@/views/member/redirect')
  },
  {
    path: '/retailer',
    name: 'Retailer',
    meta: {
      title: '商家会员中心'
    },
    component: () => import('@/views/member/retailer')
  },

  {
    path: '/recharge/:retailer_id/:point',
    name: 'Recharge',
    props: true,
    meta: {
      title: '会员充值积分'
    },
    component: () => import('@/views/member/recharger')
  },
  {
    path: '/bonus/:retailer_id',
    name: 'Bonus',
    props: true,
    meta: {
      title: '赠送积分'
    },
    component: () => import('@/views/member/bonus-points')
  },
  {
    path: '/retailer/:retailer_id/bonus',
    name: 'BonusPoint',
    props: true,
    meta: {
      title: '领取积分'
    },
    component: () => import('@/views/member/gain-points')
  },
  {
    path: '/admin/auth',
    name: 'AdminAuth',
    props: true,
    meta: {
      title: '员工授权'
    },
    component: () => import('@/views/member/employee-auth')
  },
  {
    path: '/retailer/:retailer_id/auth_info',
    name: 'EmployeeAuthInfo',
    props: true,
    meta: {
      title: '员工填写信息'
    },
    component: () => import('@/views/member/employee-auth-info')
  },
  {
    path: '/employee/:employee_id',
    name: 'EmployeeInfo',
    props: true,
    meta: {
      title: '员工授权结果'
    },
    component: () => import('@/views/member/employee-gain-auth')
  },
  {
    path: '/client',
    name: 'Client',
    meta: {
      title: '个人会员中心'
    },
    component: () => import('@/views/member/client')
  },
  {
    path: '/client_info',
    name: 'ClientInfo',
    meta: {
      title: '完善会员信息'
    },
    component: () => import('@/views/member/client-info')
  },

  {
    path: '/client/:openid/consume',
    name: 'ClientConsumeResult',
    props: true,
    meta: {
      title: '会员积分消费信息'
    },
    component: () => import('@/views/member/client-consume-point')
  },
  {
    path: '/contact/:retailer_id',
    name: 'Contact',
    props: true,
    meta: {
      title: '签订合作协议'
    },
    component: () => import('@/views/member/contact')
  },
  {
    path: '/bill/:retailer_id',
    name: 'Bill',
    props: true,
    meta: {
      title: '账单查询'
    },
    component: () => import('@/views/member/bill')
  },
  {
    path: '/bill/:retailer_id/employee',
    name: 'EmployeeBill',
    props: true,
    meta: {
      title: '账单查询'
    },
    component: () => import('@/views/member/employee-bill')
  },
  {
    path: '/client_point_list/',
    name: 'ClientPoints',
    meta: {
      title: '客户积分列表'
    },
    component: () => import('@/views/member/client-point')
  },
  {
    path: '/client_consume_list/',
    name: 'ClientConsumeList',
    meta: {
      title: '客户积分消费列表'
    },
    component: () => import('@/views/member/client-consume-list')
  },
]
export default memberRoute